
package com.ttomato.game.framework;

import com.ttomato.game.framework.math.Rectangle;
import com.ttomato.game.framework.math.Vector2;

public class GameObject {
    public final Vector2 mPosition;
    public final Rectangle mBounds;

    public GameObject(float x, float y, float width, float height) {
        mPosition = new Vector2(x, y);
        mBounds = new Rectangle(x - width / 2, y - height / 2, width, height);
    }
}
